﻿<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="AddCommitteeMembers.aspx.cs" Inherits="WebApplication1.AddCommitteeMembers" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style34
        {
            width: 483px;
        }
        .style35
        {
            width: 117px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <table>
 <tr>
 <td></td>
 <td></td>
 <td>
     <asp:Label ID="lblAddComMembrMsg" runat="server" Font-Bold="True" 
         Font-Names="Arial" ForeColor="Red" ></asp:Label>
     </td>
 </tr>
   <tr>
   <td>
   </td>
      <td class="style35">
      <asp:Label ID="Label6" runat="server" Text="Committee Name "></asp:Label>
   </td>
      <td class="style34">
       <asp:DropDownList ID="ddlCommMembrCommId" runat="server" 
        style="margin-left: 4px" 
              onselectedindexchanged="ddlCommMembrCommId_SelectedIndexChanged" 
              Width="320px" Height="21px">
    </asp:DropDownList>
          <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/AddCommittee.aspx">Add 
          A New Committee
          </asp:HyperLink>
   </td>
   </tr>
   <tr>
   <td>
   </td>
      <td class="style35">
      <asp:Label ID="Label7" runat="server" Text="Member Name"></asp:Label>
   </td>
      <td class="style34">
      <asp:DropDownList ID="ddlCommMembrMembrId" runat="server" 
        style="margin-left: 5px" AutoPostBack="True" 
              onselectedindexchanged="ddlCommMembrMembrId_SelectedIndexChanged" 
              Width="305px" Height="16px">
    </asp:DropDownList>
          <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/AddMember.aspx">Add 
          A New Member</asp:HyperLink>
   </td>
   </tr>
   <tr>
   <td>
   </td>
      <td class="style35">
        <asp:Label ID="Label8" runat="server" Text="Member From"></asp:Label>
   </td>
      <td class="style34">
          <asp:TextBox ID="txtCommMembrStartDate" runat="server" style="margin-left: 5px"></asp:TextBox>
          <asp:CompareValidator ID="cvAddCommitteeMemberStart" runat="server" 
              ControlToValidate="txtCommMembrStartDate" 
              ErrorMessage="Entered data is not in the expected format.Please follow 'mm/dd/yyyy' format" 
              ondatabinding="btnAddComMembrSubmit_Click" Operator="DataTypeCheck" 
              Type="Date"></asp:CompareValidator>
   </td>
   </tr>
   <tr>
   <td>
   </td>
      <td class="style35">
       <asp:Label ID="Label9" runat="server" Text="Member To"></asp:Label>
   </td>
      <td class="style34">
          <asp:TextBox ID="txtCommMembrEnDate" runat="server" style="margin-left: 5px"></asp:TextBox>
          <asp:CompareValidator ID="cvAddCommitteeMemberStart0" runat="server" 
              ControlToValidate="txtCommMembrEnDate" 
              ErrorMessage="Entered data is not in the expected format.Please follow 'mm/dd/yyyy' format" 
              ondatabinding="btnAddComMembrSubmit_Click" Operator="DataTypeCheck" 
              Type="Date"></asp:CompareValidator>
   </td>
   </tr>
   <tr>
   <td>
   </td>
      <td class="style35">
         <asp:Label ID="Label11" runat="server" Text="Member Role"></asp:Label>
   </td>
      <td class="style34">
       <asp:DropDownList ID="ddlCommitteeMemberMemType" runat="server" Height="16px" 
        style="margin-left: 5px" Width="148px">
        <asp:ListItem>Committee Member</asp:ListItem>
           <asp:ListItem>Patron</asp:ListItem>
           <asp:ListItem>Vice Patron</asp:ListItem>
        <asp:ListItem>President</asp:ListItem>
        <asp:ListItem>Vice President</asp:ListItem>
        <asp:ListItem>Immediate Past president</asp:ListItem>
        <asp:ListItem>Secretary</asp:ListItem>
           <asp:ListItem>Asst.Secretary</asp:ListItem>
           <asp:ListItem>Treasurer</asp:ListItem>
           <asp:ListItem>Asst.Treasurer</asp:ListItem>
           <asp:ListItem>Editor</asp:ListItem>
           <asp:ListItem>Auditor</asp:ListItem>
    </asp:DropDownList>
   </td>
   </tr>
   <tr>
   <td>
   </td>
      <td class="style35">
      <asp:Label ID="Label10" runat="server" Text="Description"></asp:Label>
   </td>
      <td class="style34">
          <asp:TextBox ID="txtCommitteeMemberDescription" runat="server" style="margin-left: 7px" 
    TextMode="MultiLine" Width="368px" Height="74px"></asp:TextBox>
   </td>
   </tr>
   <tr>
   <td>
   </td>
      <td class="style35">
   </td>
      <td class="style34">
   </td>
   </tr>
   <tr>
   <td>
   </td>
      <td class="style35">
   </td>
      <td class="style34">
   </td>
   </tr>
   <tr>
   <td>
   </td>
      <td class="style35">
          <asp:Button ID="btnAddComMembrSubmit" runat="server" 
              onclick="btnAddComMembrSubmit_Click" Text="Submit" />
   </td>
      <td class="style34">
       <asp:Button ID="btnCommitteeCancel" runat="server" style="margin-left: 77px" 
    Text="Cancel" />
   </td>
   </tr>
 </table>

   
   
</asp:Content>
